package day42;

// 密码解读
// 输出数字信息即可

import java.util.Scanner;

public class Main1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            String str = in.nextLine();
            StringBuilder num = new StringBuilder(); // 可变长
            for (int i = 0; i < str.length(); i++) {
                char ch = str.charAt(i);
                if(ch>='0' && ch<='9') {
                    num.append(ch);
                }
            }
            System.out.println(num.toString());
        }
    }
}
